import Layout from '@/layout'

const ownerRouter = {
  path: '/owner',
  component: Layout,
  alwaysShow: true,
  redirect: '/owner',
  name: 'Owner',
  meta: {
    title: '业主管理',
    icon: 'user'
  },
  children: [
    {
      path: 'owner',
      name: 'owner',
      component: () => import('@/views/owner/owner/index'),
      meta: { title: '业主信息', icon: 'el-icon-user' }
    },
    {
      path: 'audit',
      name: 'Audit',
      component: () => import('@/views/owner/audit'),
      meta: { title: '业主审核', icon: 'el-icon-document-copy' }
    }
  ]
}

export default ownerRouter
